home *** CD-ROM | disk | FTP | other *** search
/ Colossal Clipart / Colossal Clipart.iso / _debug / 2.bat < prev    next >
DOS Batch File  |  1995-04-21  |  530b  |  35 lines

  1. @echo off
  2. Rem Kill threed.vbx in %2 dir.
  3.  
  4. rem error checking
  5.  
  6.  
  7. rem check for parm
  8. if "%2" == "" goto noParm
  9.  
  10. rem check for dir
  11. if not exist %2\nul goto nodir
  12.  
  13. rem check for file
  14. if not exist %2\threed.vbx goto nofile
  15.  
  16. Echo Deleting %2\THREED.VBX ...
  17. del %2\THREED.VBX
  18. Echo Success!
  19.  
  20. goto exit
  21.  
  22. :noparm
  23. Echo You must specify a directory.
  24. Echo Example: DEBUG 2 C:\WIN31
  25. GOTO EXIT
  26.  
  27. :nodir
  28. Echo The Directory: %2 does not exist.
  29. goto exit
  30.  
  31. :noFile
  32. Echo The file: %2\THREED.VBX does not exist.
  33.  
  34. :exit
  35.